jquery remove all options but first

78

jquery remove all options but first -

yourSelect.find('option').not(':first').remove();

Comments

Submit
0 Comments